import {
  Button,
  NavBar,
  Field,
  Form,
  Icon,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Search,
  Grid,
  GridItem,
  List,
  PullRefresh,
  Tag,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Empty,
  Card,
  Checkbox,
  Stepper,
  SwipeCell,
  SubmitBar,
  Image,
  Cell
} from 'vant'
import VueVirtualScroller from 'vue-virtual-scroller'
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
export default {
  install (Vue) {
    Vue.use(Button).use(NavBar).use(Form).use(Field).use(Icon).use(Tabbar)
    Vue.use(TabbarItem).use(Swipe).use(SwipeItem).use(Search)
    Vue.use(Grid).use(GridItem).use(List).use(PullRefresh)
    Vue.use(Tag)
    Vue.use(GoodsAction)
    Vue.use(GoodsActionButton)
    Vue.use(GoodsActionIcon)
    Vue.use(Empty)
    Vue.use(Card)
    Vue.use(Checkbox)
    Vue.use(Stepper)
    Vue.use(SwipeCell)
    Vue.use(SubmitBar)
    Vue.use(Image)
    Vue.use(Cell)
    Vue.use(VueVirtualScroller)
  }
}
